import request from '@/utils/request'

export function getList(data) {
  return request({
    url: '/api/yq/getsssj',
    method: 'post',
    data
  })
}

export function insert(data) {
  return request({
    url: '/api/yq/addsssj',
    method: 'post',
    data
  })
}

export function update(data) {
  return request({
    url: '/api/yq/updatesssj',
    method: 'post',
    data
  })
}

export function del(data) {
  return request({
    url: '/api/yq/delsssj',
    method: 'post',
    data
  })
}

export function detail(data) {
  return request({
    url: '/api/yq/GetSssjById',
    method: 'post',
    data
  })
}

export function gethsyxrygaqkbyid(data) {
  return request({
    url: '/api/yq/gethsyxrygaqkbyid',
    method: 'post',
    data
  })
}

export function updatehsyxrygaqk(data) {
  return request({
    url: '/api/yq/updatehsyxrygaqk',
    method: 'post',
    data
  })
}

export function handleUpdateSure(data) {
  return request({
    url: '/api/yq/UptateTime',
    method: 'post',
    data
  })
}